package com.bootdo.system.domain;

import java.io.Serializable;
import java.util.Date;

public class AppVersionDO implements Serializable{
    private static final long serialVersionUID = 1L;
    //
    private Long appId;

    // 版本号
    private String versionNumber;

    // 签名
    private String sign;

    // 是否强制更新 0：否  1：是
    private String mandatoryUpdate;

    // 下载地址
    private String downloadPath;

    // 创建时间
    private Date gmtCreate;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getAppId() {
        return appId;
    }

    public void setAppId(Long appId) {
        this.appId = appId;
    }

    public String getVersionNumber() {
        return versionNumber;
    }

    public void setVersionNumber(String versionNumber) {
        this.versionNumber = versionNumber;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getMandatoryUpdate() {
        return mandatoryUpdate;
    }

    public void setMandatoryUpdate(String mandatoryUpdate) {
        this.mandatoryUpdate = mandatoryUpdate;
    }

    public String getDownloadPath() {
        return downloadPath;
    }

    public void setDownloadPath(String downloadPath) {
        this.downloadPath = downloadPath;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    @Override
    public String toString() {
        return "APPVersionDO{" +
                "appId=" + appId +
                ", versionNumber='" + versionNumber + '\'' +
                ", sign='" + sign + '\'' +
                ", mandatoryUpdate='" + mandatoryUpdate + '\'' +
                ", downloadPath='" + downloadPath + '\'' +
                ", gmtCreate=" + gmtCreate +
                '}';
    }
}
